package com.koron.order.zsjRepair.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("眼镜端执行信息保存")
public class RemoteRecord {
	@ApiModelProperty(value = "主键id")
	private String id;

	@ApiModelProperty(value = "工单id")
	private String projectId;

	@ApiModelProperty(value = "工卡id")
	private String cardId;

	@ApiModelProperty(value = "工卡名称")
	private String cardName;

	@ApiModelProperty(value = "上传人id")
	private String userId;

	@ApiModelProperty(value = "执行时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@ApiModelProperty(value = "执行工卡步骤拍摄图片列表")
	private List<StepFile> stepList;

	@ApiModelProperty(value = "录像列表")
	private List<RecordFile> recordFiles;
}
